package com.yunban.project.template.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.template.model.domain.TemplateGroup;
import com.yunban.project.template.model.dto.TemplateGroupReq;
import com.yunban.project.template.model.dto.TemplateGroupSearchReq;
import com.yunban.project.template.model.vo.TemplateGroupResp;
import net.lab1024.sa.base.common.domain.PageResult;

import java.util.List;

public interface TemplateGroupService extends IService<TemplateGroup> {

    TemplateGroup findById(long id);

    PageResult<TemplateGroupResp> getTemplateGroupList(TemplateGroupSearchReq req);

    Boolean saveTemplateGroup(TemplateGroupReq req);

    Boolean editTemplateGroup(long id, TemplateGroupReq req);

    Boolean removeTemplateGroup(long id);
}
